#!/bin/sh

docker run --name tomcat8 -dit -p 8075:8080  centos/aarch64 /bin/bash
docker exec -it tomcat8 /bin/bash

docker rm -f tomcat


docker run -d --name ssh  hq/centos7aarch64-ssh


 docker run --name tomcat --restart=always -d \
 -v /mnt/sda1:/mnt \
 -p 8888:8888 \
 -p 222:22 \
 -p 8080:8080 \
 -p 3306:3306 \
hq/centos7-aarch64-web:latest






#!/bin/sh
JAVA=/opt/java
JAVA_HOME=$JAVA/java-1.8.0-aarch64
JAVA_BIN=$JAVA_HOME/bin
TOMCAT_HOME=$JAVA/apache-tomcat-8.5.82
TOMCAT_BIN=$TOMCAT_HOME/bin
PATH=$PATH:$JAVA_HOME:$JAVA_BIN:$TOMCAT_BIN
